package org.redis.cluster.transport.protocol;

import org.redis.cluster.transport.ByteBuffer;
import org.redis.cluster.transport.session.Session;

public interface ProtocolDecoder {

	/**
	 * 解码
	 * @param buffer
	 * @param session
	 * @param output
	 */
	public void decode(ByteBuffer buffer,Session session,ProtocolOutput output);
}